package zx.x.modules.app.dao;

import zx.x.modules.app.dto.OrderDto;
import zx.x.modules.app.entity.RoomAppointmentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 房间预约表
 * 
 * @author x
 * @email x
 * @date 2022-09-29 15:27:48
 */
@Mapper
public interface RoomAppointmentDao extends BaseMapper<RoomAppointmentEntity> {
	RoomAppointmentEntity selectByYdTime(String ydTime,Integer roomId);

	// 取消预约
	int cancelReservation(OrderDto dto);
}
